package com.hileto.inf.actions.methods.params;

import javax.servlet.http.HttpServletRequest;

public final class SysParam {

	private String method; //方法
	private String timestamp;//时间戳
	private String key;//程序key
	private String sessionKey;//
	private String v; //版本号

	public SysParam(HttpServletRequest request) {
		this.method = request.getParameter("sys.method");
		this.timestamp = request.getParameter("sys.timestamp");
		this.key = request.getParameter("sys.key");
		this.v = request.getParameter("sys.v");
		this.sessionKey = request.getParameter("sys.sessionKey");
	}

	public String getMethod() {
		return method;
	}

	public String getTimestamp() {
		return timestamp;
	}

	public String getKey() {
		return key;
	}

	public String getV() {
		return v;
	}

	public String getSessionKey() {
		return sessionKey;
	}
}
